/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Logic;

import java.io.Serializable;

/**
 *
 * @author LiN
 */
public class DataBaseLink implements Serializable{
    private String user;
    private String name;
    private String pass;
    private String ip;
    private String port;
    private String bd;
    
    public DataBaseLink(String name,String user,String pass,String ip,String port,String bd){
        this.name=name;
        this.user=user;
        this.pass=pass;
        this.ip=ip;
        this.port=port;
        this.bd=bd;
    }

    @Override
    public String toString() {
        return "Server: "+name+"/"+user+"/"+ip+"/"+port+"/"+bd;
    }
    
    

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getBd() {
        return bd;
    }

    public void setBd(String bd) {
        this.bd = bd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
}
